@import "./base.css";

#app {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;

  font-weight: normal;
}

a,
.green {
  text-decoration: none;
  color: hsla(160, 100%, 37%, 1);
  transition: 0.4s;
}

@media (hover: hover) {
  a:hover {
    background-color: hsla(160, 100%, 37%, 0.2);
  }
}

@media (min-width: 1024px) {
  body {
    display: flex;
    place-items: center;
  }

  #app {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0 2rem;
  }
  /*对于表格的全局设置*/
  .el-table__row {
    height: 60px !important;
  }

  /* 调整表格单元格内边距 */
  .el-table .cell {
    padding: 8px 0 !important;
  }

  /* 如果需要调整表头高度 */
  .el-table__header-wrapper .el-table__header th {
    height: 50px !important;
  }
  /* 表头文字居中 */
  .el-table__header th {
    text-align: center !important;
  }

  /* 表格内容文字居中 */
  .el-table__body td {
    text-align: center !important;
  }
  /* 如果需要表头高度调整 */
  .el-table__header th {
    height: 50px !important;
    text-align: center !important;
  }
}
